Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issues with package.json #542

Merged
merged 3 commits into from
Dec 18, 2024
Merged

fix issues with package.json #542

merged 3 commits into from
Dec 18, 2024

Conversation

echo-bravo-yahoo
Copy link
Collaborator

when running a dry-run publish, npm complains about these fields:

$ npm publish --access public --loglevel verbose --dry-run
...
npm warn publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "bin[fauna]" script name was cleaned
npm warn publish "repository" was changed from a string to an object
npm warn publish "repository.url" was normalized to "git+https://github.com/fauna/fauna-shell.git"
...

resolved by running npm pkg fix

when running a dry-run publish, npm complains about these fields:
```
$ npm publish --access public --loglevel verbose --dry-run
...
npm warn publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "bin[fauna]" script name was cleaned
npm warn publish "repository" was changed from a string to an object
npm warn publish "repository.url" was normalized to "git+https://github.com/fauna/fauna-shell.git"
...
```

resolved by running `npm pkg fix`
@echo-bravo-yahoo echo-bravo-yahoo requested a review from a team as a code owner December 17, 2024 23:57
@ecooper ecooper merged commit c66ceed into v3 Dec 18, 2024
4 checks passed
@ecooper ecooper deleted the npm-pkg-fix branch December 18, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants